css: Add printing code for :visited and :link
authorBenjamin Otte <otte@redhat.com>
Mon, 21 Jul 2014 17:48:35 +0000 (19:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 21 Jul 2014 17:54:14 +0000 (19:54 +0200)
Don't just crash when those states are encountered

gtk/gtkcssselector.c

index 25b174cb8a4f3804f7ea564d22ef36207b19985d..352e67c01576074f0b9f25d59e240ebcd9f05013 100644 (file)
@@ -1109,7 +1109,9 @@ gtk_css_selector_pseudoclass_state_print (const GtkCssSelector *selector,
     "focus",
     "backdrop",
     "dir(ltr)",
-    "dir(rtl)"
+    "dir(rtl)",
+    "link",
+    "visited"
   };
   guint i, state;